﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace CRM.BLL
{
    public class PartsImagesB
    {
        #region PartsImages
        /// <summary>
        /// 获取PartsImages信息
        /// </summary>
        public DataTable GetPartsImages(ref CRM.MODEL.PartsImages.GetPartsImages stu)
        {
            CRM.DAL.PartsImagesD obj = new CRM.DAL.PartsImagesD();
            DataTable dt = obj.ExecuteGetPartsImages(ref stu);
            obj.Dispose();
            return dt;
        }

        /// <summary>
        /// 编辑PartsImages信息
        /// </summary>
        public int EditPartsImages(ref CRM.MODEL.PartsImages.EditPartsImages stu)
        {
            CRM.DAL.PartsImagesD obj = new CRM.DAL.PartsImagesD();
            int effectRow = obj.ExecuteEditPartsImages(ref stu);
            obj.Dispose();
            return effectRow;
        }
        #endregion
    }
}
